<?php
/*
  $Id: footer.php,v 1.3 2005/08/18 13:06:36 mwithington Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
  V1.1.6 READY
*/

  require(DIR_WS_INCLUDES . 'counter.php');




 // Added Configuration Switch for the Footer Bar
  if (SHOW_FOOTER_BAR == 'true') { 
  $date_time = tep_db_datetime();
  $a['footer_date'] =  strftime(DATE_FORMAT_LONG, strtotime($date_time));;
  if ( SHOW_HIT_COUNTER == 'true' ) {

$a['counter'] =  $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; 

  }
  }


$a['footer'] = FOOTER_TEXT_BODY;
  if ($banner = tep_banner_exists('dynamic', '468x50')) {
$a['banner'] = tep_display_banner('static', $banner); 
  }
  require(WS_TEMPLATES . E_TEMPLATE_FOLDER . '/footer.html');
?>